﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laohan.Common.USB.DeviceNotify
{
	public class WindowsDeviceNotifyEventArgs : DeviceNotifyEventArgs
	{
		private readonly DevBroadcastHdr mBaseHdr;

		internal WindowsDeviceNotifyEventArgs(DevBroadcastHdr hdr, IntPtr ptrHdr, EventType eventType)
		{
			mBaseHdr = hdr;
			mEventType = eventType;
			mDeviceType = mBaseHdr.DeviceType;
		}
	}
}
